Optimal. Leaf size=43 \[ -\frac {\tanh ^{-1}\left (\frac {\sqrt {3} (2-x) \sqrt {x}}{2 \sqrt {x^3-3 x^2+3 x}}\right )}{\sqrt {3}} \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 43, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {1997, 1913, 206} \begin {gather*} -\frac {\tanh ^{-1}\left (\frac {\sqrt {3} (2-x) \sqrt {x}}{2 \sqrt {x^3-3 x^2+3 x}}\right )}{\sqrt {3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 1913
Rule 1997
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {x} \sqrt {x \left (3-3 x+x^2\right )}} \, dx &=\int \frac {1}{\sqrt {x} \sqrt {3 x-3 x^2+x^3}} \, dx\\ &=-\left (2 \operatorname {Subst}\left (\int \frac {1}{12-x^2} \, dx,x,\frac {(6-3 x) \sqrt {x}}{\sqrt {3 x-3 x^2+x^3}}\right )\right )\\ &=-\frac {\tanh ^{-1}\left (\frac {\sqrt {3} (2-x) \sqrt {x}}{2 \sqrt {3 x-3 x^2+x^3}}\right )}{\sqrt {3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 62, normalized size = 1.44 \begin {gather*} \frac {\sqrt {x} \sqrt {x^2-3 x+3} \tanh ^{-1}\left (\frac {\sqrt {3} (x-2)}{2 \sqrt {x^2-3 x+3}}\right )}{\sqrt {3} \sqrt {x \left (x^2-3 x+3\right )}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.31, size = 45, normalized size = 1.05 \begin {gather*} \frac {2 \tanh ^{-1}\left (\frac {\sqrt {3} \sqrt {x}}{x^{3/2}-\sqrt {x^3-3 x^2+3 x}}\right )}{\sqrt {3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.16, size = 49, normalized size = 1.14 \begin {gather*} \frac {1}{6} \, \sqrt {3} \log \left (\frac {7 \, x^{3} + 4 \, \sqrt {3} \sqrt {x^{3} - 3 \, x^{2} + 3 \, x} {\left (x - 2\right )} \sqrt {x} - 24 \, x^{2} + 24 \, x}{x^{3}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.33, size = 47, normalized size = 1.09 \begin {gather*} \frac {1}{3} \, \sqrt {3} \log \left (x + \sqrt {3} - \sqrt {x^{2} - 3 \, x + 3}\right ) - \frac {1}{3} \, \sqrt {3} \log \left (-x + \sqrt {3} + \sqrt {x^{2} - 3 \, x + 3}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 50, normalized size = 1.16 \begin {gather*} \frac {\sqrt {x^{2}-3 x +3}\, \sqrt {3}\, \sqrt {x}\, \arctanh \left (\frac {\left (x -2\right ) \sqrt {3}}{2 \sqrt {x^{2}-3 x +3}}\right )}{3 \sqrt {\left (x^{2}-3 x +3\right ) x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {{\left (x^{2} - 3 \, x + 3\right )} x} \sqrt {x}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {1}{\sqrt {x}\,\sqrt {x\,\left (x^2-3\,x+3\right )}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________